package com.ruoyi.jl.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.base.CustomBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 赠送金币表 jl_give_gold
 * 
 * @author wh
 * @date 2019-04-29
 */
@EqualsAndHashCode(callSuper = true)
@ToString
@Data
@Accessors(chain = true)
@TableName("jl_give_gold")
public class GiveGold extends CustomBaseEntity {
    private static final long serialVersionUID = 1L;

    @TableId
    private Integer id;
	
    /**
    * 赠送id(0系统赠送)
    */
    private Integer giveId;
    /**
    * 接收赠送的玩家id
    */
    private Integer receiveId;
    /**
     * 金币数量
     */
    private Integer goldNum;
    /**
     * 赠送类型 0系统赠送,1玩家赠送
     */
    private Integer type;
    /**
    * IP地址
    */
    private String ipAddress;
    /**
    * 赠送时间
    */
    private Date giveTime;

    /**
     * 赠送类型
     */
    @TableField(exist = false)
    private Integer giveType;
}
